package com.gp.testonline.service;

import com.gp.testonline.eo.AnswerEOPage;
import com.gp.testonline.model.Answer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 *操作数据库方法的对接
 */
public interface AnswerService {
    //添加答题信息
    int InsertAnswer(Answer answer);

    //删除答题信息
    int DeleteAnswer(Integer aid);

    //查看答题信息
    List<AnswerEOPage> getAnswerAll(AnswerEOPage answerEOPage);
}
